package com.cn.pojo;

import java.io.Serializable;
import java.util.List;
/**
 * 供应商表
 * @author Administrator
 *  
 */  
public class Qc_supplier implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = 8818943893124187296L;
	private int su_id;
	private String s_name;
	private String s_username;
	private String s_password;
	private String s_business;
	private int s_status;
	private int s_flag; 
	private List<Qc_shop> qc_shop;
	private List<Qc_order> qc_order;
 
	public Qc_supplier() {
	}
	/**
	 * 不带ID的有参构造
	 * @param s_name 供应商名称
	 * @param s_username 供应商账号
	 * @param s_password 供应商密码
	 * @param s_business 供应商资质
	 * @param s_status 供应商状态
	 * @param qc_shop 外键于商品表(商品集合)
	 * @param qc_order 外键于订单表(订单集合)
	 * @param s_flag 管理员权限
	 */
	public Qc_supplier(String s_name, String s_username, String s_password, String s_business, int s_status,
			List<Qc_shop> qc_shop, List<Qc_order> qc_order,int s_flag) {
		this.s_name = s_name;
		this.s_username = s_username;
		this.s_password = s_password;
		this.s_business = s_business;
		this.s_status = s_status;
		this.qc_shop = qc_shop;
		this.qc_order = qc_order;
		this.s_flag=s_flag;
	}
	/**
	 * 带ID的有参构造
	 * @param su_id 编号
	 * @param s_name 供应商名称
	 * @param s_username 供应商账号
	 * @param s_password 供应商密码
	 * @param s_business 供应商资质
	 * @param s_status 供应商状态
	 * @param qc_shop 外键于商品表(商品集合)
	 * @param qc_order 外键于订单表(订单集合)
	 * @param s_flag 管理员权限
	 */
	public Qc_supplier(int su_id, String s_name, String s_username, String s_password, String s_business, int s_status,
			List<Qc_shop> qc_shop, List<Qc_order> qc_order,int s_flag) {
		this.su_id = su_id;
		this.s_name = s_name;
		this.s_username = s_username;
		this.s_password = s_password;
		this.s_business = s_business;
		this.s_status = s_status;
		this.qc_shop = qc_shop;
		this.qc_order = qc_order;
		this.s_flag=s_flag;
	}
	/**
	 * 编号
	 * @return
	 */
	public int getSu_id() {
		return su_id;
	}
	/**
	 * 编号
	 * @param su_id
	 */
	public void setSu_id(int su_id) {
		this.su_id = su_id;
	}
	/**
	 * 供应商名称
	 * @return
	 */
	public String getS_name() {
		return s_name;
	}
	/**
	 * 供应商名称
	 * @param s_name
	 */
	public void setS_name(String s_name) {
		this.s_name = s_name;
	}
	/**
	 * 供应商账号
	 * @return
	 */
	public String getS_username() {
		return s_username;
	}
	/**
	 * 供应商账号
	 * @param s_username
	 */
	public void setS_username(String s_username) {
		this.s_username = s_username;
	}
	/**
	 * 供应商密码
	 * @return
	 */
	public String getS_password() {
		return s_password;
	}
	/**
	 * 供应商密码
	 * @param s_password
	 */
	public void setS_password(String s_password) {
		this.s_password = s_password;
	}
	/**
	 * 供应商资质
	 * @return
	 */
	public String getS_business() {
		return s_business;
	}
	/**
	 * 供应商资质
	 * @param s_business
	 */
	public void setS_business(String s_business) {
		this.s_business = s_business;
	}
	/**
	 * 供应商状态
	 * @return
	 */
	public int getS_status() {
		return s_status;
	}
	/**
	 * 供应商状态
	 * @param s_status
	 */
	public void setS_status(int s_status) {
		this.s_status = s_status;
	}
	/**
	 * 商品集合
	 * @return
	 */
	public List<Qc_shop> getQc_shop() {
		return qc_shop;
	}
	/**
	 * 商品集合
	 * @param qc_shop
	 */
	public void setQc_shop(List<Qc_shop> qc_shop) {
		this.qc_shop = qc_shop;
	}
	/**
	 * 订单集合
	 * @return
	 */
	public List<Qc_order> getQc_order() {
		return qc_order;
	}
	/**
	 * 订单集合
	 * @param qc_order
	 */
	public void setQc_order(List<Qc_order> qc_order) {
		this.qc_order = qc_order;
	}
	/**
	 * 管理员权限
	 * @return
	 */
	public int getS_flag() {
		return s_flag;
	}
	/**
	 * 管理员权限
	 * @param s_flag
	 */
	public void setS_flag(int s_flag) {
		this.s_flag = s_flag;
	}
	
}
